<template>
  <div>
    <modal :visible="visible" @nonono="ggno" @yesyes='ggyes'>
      <template v-slot:hard>
        <h1>看什么看1111</h1>
      </template>
      <template v-slot:body>
        <h3>看你咋了</h3>
      </template>
    </modal>
    <button @click="showmodal" >点击弹窗</button>
  </div>
</template>
<script>
import modal from "./canku.vue";
import mixinsCom from "../../components/mixCOM/modalmixins.js"
export default {
  mixins:[mixinsCom],
    components: {
    modal,
  },

};
</script>